# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=hare-ssh
pkgver="0_git20220616"
_commit=c6e462a3e53e0fcbb19e4a8d02a126fc94743c44
pkgrel=0
pkgdesc="SSH support for Hare"
url="https://sr.ht/~sircmpwn/hare-ssh"
arch="x86_64 aarch64" # hare
license="MPL-2.0"
makedepends="hare"
source="
	$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hare-ssh/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
347f8fa68ee486904bd4c4d7304103bc3a0c87295e8c9334464adec46531a471702cbd9fa37d0fb723ef6f3d3f3406972f3aea0af22a3ba45948b24e4714c9c9  hare-ssh-c6e462a3e53e0fcbb19e4a8d02a126fc94743c44.tar.gz
"
